Skip to main content

FileHash

FileHash[file] gives an integer hash code for the contents of the specified file.

FileHash[file,"type"] gives an integer hash of the specified type.

FileHash[file,"type","format"] gives a hash code in the specified format.

FileHash[{file,range},…] gives the hash code for the specified range of bytes.

FileHash[{filespec1,filespec2,…},…] gives the hash codes for a list of files.

Please visit the official Wolfram Language Reference for more details and examples on core symbols.